package com.biannuo.szk.demo.consumer.service;

import com.biannuo.szk.common.bean.ComplexObject;
import com.biannuo.szk.common.bean.Params;
import com.biannuo.szk.common.bean.Result;

/**
 * 消费端服务
 *
 * @author szk
 */
public interface DemoConsumerService {
    /**
     * openFeignProviderTest
     *
     * @return
     */
    String openFeignProviderTest();

    /**
     * sampleParamsProviderTest
     *
     * @param name
     * @param id
     * @return
     */
    String sampleParamsProviderTest(String name, Integer id);

    /**
     * springQueryMapProviderTest
     *
     * @param params
     * @return
     */
    String springQueryMapProviderTest(Params params);

    /**
     * complexObjectProviderTest
     *
     * @param object
     * @return
     */
    Result complexObjectProviderTest(ComplexObject object);

    /**
     * complexObjectProviderTest
     *
     * @param object
     * @param params
     * @return
     */
    Result complexObjectProviderTest(ComplexObject object, Params params);
}
